﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DadaLib;

namespace DadaistTests
{
    [TestClass]
    public class FileParserTests
    {
        [TestMethod]
        public void ParseWorks()
        {
            var fp = new FileParser(Util.SamplesFolder + "odyssey1.txt");
            do
            {
                var word = fp.GetNextWord();
                Console.WriteLine(word ?? "EOF.");
            } while (!fp.EndOfFile());
        }
    }
}
